package xyz.labmem.base.sys.module.dict.service

import xyz.labmem.base.sys.module.dict.entity.SysDictData
import xyz.labmem.base.sys.module.dict.entity.SysDictType

/**
 * @Author lty
 * @Date 2021/12/16 16:12
 */
interface SysDictService {

    fun getTypeByCode(code: String): SysDictType?

    fun getDataListByType(type: SysDictType): List<SysDictData>

    fun getDataListByTypeCode(code: String): List<SysDictData>

}